package com.qm.console.dao.mapper;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.qm.console.dao.model.PhotosAuditRecords;

import java.util.List;
import java.util.Map;

public interface PhotosAuditRecordsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PhotosAuditRecords record);

    int insertSelective(PhotosAuditRecords record);

    PhotosAuditRecords selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PhotosAuditRecords record);

    int updateByPrimaryKey(PhotosAuditRecords record);

    List<JSONObject> list(Map<String, Object> paramMap);

    int insertMultiTerm(JSONArray list);

    int total(Map<String, Object> queryMap);

    int updateTime(Map<String, Object> queryMap);
}
